<!--{if CURMODULE != 'logging'}-->
	<script type="text/javascript" src="{$_G[setting][jspath]}logging.js?{VERHASH}"></script>
	<form method="post" id="lsform" action="member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes" onsubmit="return lsSubmit()">
    <div class="table-name-free">Miễn phí và luôn sẵn sàng!</div>
    <div class="box-login-woo"><br />
        <span id="return_ls" style="display:none"></span>
        <!--{if !$_G['setting']['autoidselect']}-->
        <div class="table-name-tex">
        	<span class="ftid">
                <select name="fastloginfield" id="ls_fastloginfield" width="60" tabindex="900">
                    <option value="username">{lang username}</option>
                    <option value="uid">{lang uid}</option>
                    <option value="email">{lang email}</option>
                </select>
            </span>
            <script type="text/javascript">simulateSelect('ls_fastloginfield')</script>
        </div>
        <div class="table-input"><input type="text" name="username" id="ls_username" autocomplete="off" class="px vm" tabindex="901" /></div>
        <!--{else}-->
        <div class="table-name-tex"><label for="ls_username">{lang username}</label></div>
        <div class="table-input">
        	<input type="text" name="username" id="ls_username" class="px vm xg1" {if $_G['setting']['autoidselect']} value="{lang username}/Email" onfocus="if(this.value == '{lang username}/Email'){this.value = '';this.className = 'px vm';}" onblur="if(this.value == ''){this.value = '{lang username}/Email';this.className = 'px vm xg1';}"{/if} tabindex="901" />
        </div>
        <!--{/if}-->
        <div class="table-name-tex"><label for="ls_password"{if !$_G['setting']['autoidselect']} class="z psw_w"{/if}>{lang password}</label></div>
        <div class="table-input"><input type="password" name="password" id="ls_password" class="px vm" autocomplete="off" tabindex="902" /></div>
        <label for="ls_cookietime"><input type="checkbox" name="cookietime" id="ls_cookietime" class="pc" value="2592000" tabindex="903" />{lang login_permanent}</label>
        <div class="table-dangnhap"><button type="submit" tabindex="904" style="width: 100px;"><em>{lang login}</em></button></div>
        <div>Đăng nhập bằng tài khoản khác: <br /><br /><!--{hook/global_login_extra}--><br /></div>
        <div class="table-forgot"><a href="javascript:;" onclick="showWindow('login', 'member.php?mod=logging&action=login&viewlostpw=1')">{lang forgotpw}</a></div>
    </div>
    <div class="table-add"><a href="member.php?mod={$_G[setting][regname]}" class="xi2 xw1">$_G['setting']['reglinkname']</a></div>
    <input type="hidden" name="quickforward" value="yes" />
    <input type="hidden" name="handlekey" value="ls" />
    <input type="hidden" name="formhash" value="{FORMHASH}" />
    <input type="hidden" name="referer" value="$show_refer" />
    <!--{if $auth}-->
        <input type="hidden" name="auth" value="$auth" />
    <!--{/if}-->
    </form>
<!--{/if}-->